package com.lhdx.practical.dao;

import com.lhdx.practical.bean.Performance;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PerformanceDao extends CrudRepository<Performance,Long> {
    Performance findByPersonidAndMid(long personid,long mid);

    List<Performance> findAllByPersonidAndGradeid(long personid,long gradeid);

    Performance findById(long id);
}
